package com.wander.methoddemo.String.test1;

public class StringDemo2 {
    public static void main(String[] args) {
        String s1 = new String("abc");
        String s2 = "Abc";

        System.out.println(s1.equals(s2));

        boolean result1 = s1.equals(s2);

        System.out.println(result1);

        boolean result2 = s1.equalsIgnoreCase(s2);

        System.out.println(result2);


    }
}
